package org.yzh.web.model.qiniu;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author lsj
 * @date 2021/1/18 14:10
 */
@NoArgsConstructor
@Data
public class NameSpaceResp {
    private int total;

    private List<NameSpaceItem> items;

    @NoArgsConstructor
    @Data
    public static class NameSpaceItem {
        /**
         * id : 2xenzw7ge6xuv
         * name : MBLY
         * desc : mobileye
         * domains : []
         * accessType : rtmp
         * rtmpUrlType : 2
         * urlMode : 2
         * zone : z0
         * hlsLowLatency : true
         * authMode : noUrlAuth
         * sipAddrs : []
         * onDemandPull : false
         * createdAt : 1607918855
         * updatedAt : 1608282472
         * recordTemplateId : 2xenzw7jhreu0
         * deviceCount : 0
         * platformCount : 0
         * streamCount : 1
         * onlineStreamCount : 0
         * disabledStreamCount : 0
         * onlineDeviceCount : 0
         * offlineDeviceCount : 0
         * unRegDeviceCount : 0
         * recordTemplateApplyAll : true
         * snapshotTemplateApplyAll : false
         * disabled : false
         */

        private String id;
        private String name;
        private String desc;
        private String accessType;
        private Integer rtmpUrlType;
        private Integer urlMode;
        private String zone;
        private Boolean hlsLowLatency;
        private String authMode;
        private Boolean onDemandPull;
        private Integer createdAt;
        private Integer updatedAt;
        private String recordTemplateId;
        private Integer deviceCount;
        private Integer platformCount;
        private Integer streamCount;
        private Integer onlineStreamCount;
        private Integer disabledStreamCount;
        private Integer onlineDeviceCount;
        private Integer offlineDeviceCount;
        private Integer unRegDeviceCount;
        private Boolean recordTemplateApplyAll;
        private Boolean snapshotTemplateApplyAll;
        private Boolean disabled;
        private List<?> domains;
        private List<?> sipAddrs;
    }
}
